#include<iostream>
#include<string>
using namespace std;

class Phone
{
private:
  /* data */
public:
  Phone(string name){
    name = name;
  };
  string name;
};

class Dog
{
public:
// Phone m_phone = phone 隐式转换
  Dog(const string name, const string phone): m_name(name), m_phone(phone) {};
  string m_name;
  Phone m_phone;
};

void test0() {
  string name = "xl";
  string phone = "phone_max";
  Dog dog1(name, phone);
}
int main() {
  test0();

  return 0;
}